package com.lebang.mapper;

import com.lebang.configuration.datasource.DataSource;
import com.lebang.domain.CencesDownloadMember;
import com.lebang.example.CencesDownloadMemberExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * CencesDownloadMemberMapper继承基类
 */
@Mapper
public interface CencesDownloadMemberMapper extends MyBatisBaseDao<CencesDownloadMember, Integer, CencesDownloadMemberExample> {

    @DataSource("commonDB")
    CencesDownloadMember sumData(@Param("star") Integer star, @Param("end") Integer end, @Param("appStore") String appStore, @Param("category") int category, @Param("type") int type);

    @DataSource("commonDB")
    int insertDownloadMember(CencesDownloadMember singleBrandNewUser);
}